<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>智游问答 - 注册</title>
</head>
<body>
    <form action="/api/user/register">
        <input type="text" name="petname" required
        placeholder="请输入昵称">
        <br>
        <input type="password" name="password" required
        placeholder="请输入密码">
        <br>
        <input type="password" required placeholder="请确认密码">
        <br>
        <label for="male">先生</label>
        <input type="radio" name="isMale" id="male" value="true" checked>
        <label for="female">女士</label>
        <input type="radio" name="isMale" id="female" value="false">
        <br>
        <input type="email" name="email" required placeholder="请输入电子邮箱">
        <br>
        <select name="course">
            <option value="HTML5" selected>HTML5</option>
            <option value="iOS">iOS</option>
            <option value="Android">Android</option>
        </select>
        <br>
        <input type="submit" value="注册">
    </form>
    <script src="lib/js/jquery.js"></script>
    <script src="scripts/register.js"></script>
</body>
</html>